package com.tjetc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@TableName("t_user_activity")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    /**
     * 活动id
     */
    private Integer aid;

    /**
     * 0 待审审核  1 审核通过 2已签到  3 签到并发布花絮
     */
    private Integer state;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private Activity activity;


}
